﻿#ifndef NETCOMM_H
#define NETCOMM_H

#include "inetcomm.h"
#include "define.h"
#include "../../include/commdef.h"
#include "../../include/itmodelbaseimpl.h"

class ITFramework;
class ITLogger;
class ITCommon;
class NetComm : public ITModelBaseImpl<INetComm>
{
public:
    static NetComm* GetInstance() {static NetComm __instance; return &__instance;}
    void SetFramework(ITFramework* pFrm);
public:
    NetComm();
    virtual ~NetComm();
public:
    void sendBehaviour(TPNetComm_SendRobotCoreBehaviour *pInArgs, TObject* pOutArgs);

    T_DECLARE_INVOKE

private:
    ITFramework *m_pFramework;
    ITLogger    *m_pLogger;
    ITCommon    *m_pcommon;
};

#endif // NETCOMM_H
